<template>
  <div>
    <h2>演示pramas进行参数传递</h2>
    <!-- 子路由的占位 -->
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  created() {
    console.log(this.$route);
  },
};
</script>
